/* --------------------------------------------------------------------------------------------------------------------
// <copyright file="bcms.pages.css" company="Devbridge Group LLC">
//
// Copyright (C) 2015,2016 Devbridge Group LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
// </copyright>
//
// <summary>
// Better CMS is a publishing focused and developer friendly .NET open source CMS.
//
// Website: https://www.bettercms.com
// GitHub: https://github.com/devbridge/bettercms
// Email: info@bettercms.com
// </summary>
// ------------------------------------------------------------------------------------------------------------------*/
.bcms-clearfix:after, .bcms-tree-controls-holder:after, .bcms-top-block-holder:after, .bcms-top-block-filters:after, .bcms-single-tag-holder:after {
  content: '';
  display: table;
  clear: both;
}

.bcms-search-field-box {
  margin: 0;
  padding: 0;
}

.bcms-tree-expander, .bcms-tree-add-node {
  color: #0d7ce7;
  cursor: pointer;
  font-weight: 600;
  line-height: 20px;
}

.bcms-tree-expander:hover, .bcms-tree-add-node:hover {
  color: #0a62b7;
}

.bcms-sitemap-tabs-holder {
  float: left;
  height: 100%;
  width: calc(1150px - 50px);
}

.bcms-sitemaps-arrow-left {
  background: url("") no-repeat center;
  cursor: pointer;
  float: left;
  height: 100%;
  width: 22px;
}

.bcms-sitemaps-arrow-left.bcms-sitemaps-arrow-inactive {
  background: none;
  cursor: default;
}

.bcms-sitemaps-arrow-right {
  background: url("") no-repeat center;
  cursor: pointer;
  float: right;
  height: 100%;
  width: 22px;
}

.bcms-sitemaps-arrow-right.bcms-sitemaps-arrow-inactive {
  background: none;
  cursor: default;
}

.bcms-tree-zones-holder {
  display: table;
  margin-bottom: 20px;
  width: 100%;
}

.bcms-tree-drag-area-ui {
  display: table-cell;
  vertical-align: top;
  padding-right: 30px;
  width: 180px;
}

.bcms-tree-drop-area-ui {
  display: table-cell;
  vertical-align: top;
  border-left: 1px solid #dfdfdf;
  padding-left: 30px;
}

.bcms-tree-controls-holder {
  margin: 15px 0 10px;
}

.bcms-tree-expander {
  background: url("") no-repeat right center;
  float: right;
  font-size: 13px;
  font-weight: 400;
  padding-right: 28px;
}

.bcms-tree-expander-close {
  background-image: url("");
}

.bcms-tree-add-node {
  background: url("") no-repeat left center;
  float: left;
  padding-left: 28px;
}

.bcms-node-box-container {
  -webkit-transition: border-style 200ms;
  -moz-transition: border-style 200ms;
  transition: border-style 200ms;
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 60px 0 20px;
  position: relative;
}

.bcms-node-box-container:hover {
  border-style: dashed;
  cursor: move;
}

.bcms-node-box-container.bcms-inactive:hover {
  border: 1px solid #dfdfdf;
}

.bcms-node-box-info {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}

.bcms-node-box-title {
  display: inline-block;
  vertical-align: middle;
  color: #0d7ce7;
  line-height: 42px;
}

.bcms-node-box-title.bcms-node-box-title-sitemap {
  line-height: 18px;
  margin-top: 4px;
}

.bcms-node-box-path > a {
  color: #303646;
  font-size: 11px;
}

.bcms-node-box-drag {
  background-color: #e7f3ff;
  box-shadow: 5px 3px 0 2px rgba(200, 200, 200, 0.6);
}

.bcms-node-box-edit {
  background-color: #e7f3ff;
}

.bcms-node-box-edit .bcms-node-box-info {
  display: none;
}

.bcms-node-box-edit .bcms-node-box-path {
  display: none;
}

.bcms-node-box-edit .bcms-node-editable-box {
  display: block;
}

.bcms-node-box-edit .bcms-node-delete-box {
  opacity: 0;
}

.bcms-node-box-inactive {
  cursor: default;
  opacity: .8;
}

.bcms-node-box-inactive:hover {
  border-style: solid;
}

.bcms-node-expander {
  position: absolute;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  height: 20px;
  width: 20px;
  background: #f3f3f3 url("") no-repeat right center;
  cursor: pointer;
  left: -10px;
  z-index: 1;
}

.bcms-node-expanded {
  background-image: url("");
}

.bcms-node-edit-holder {
  margin: 5px 0;
}

.bcms-node-edit-holder .bcms-field-wrapper {
  display: inline-block;
  vertical-align: middle;
  width: 80%;
}

.bcms-node-delete-box {
  -webkit-transition: opacity 200ms;
  -moz-transition: opacity 200ms;
  transition: opacity 200ms;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border-left: 1px solid #dfdfdf;
  opacity: 1;
  width: 50px;
}

.bcms-node-delete-box .bcms-action-delete {
  height: 100%;
  width: 100%;
}

.bcms-node-drop-zone {
  padding: 4px 0;
}

.bcms-node-drop-zone-active {
  padding: 8px 0;
}

.bcms-node-drop-zone-text {
  border: 2px dashed #dfdfdf;
  box-sizing: border-box;
  color: #dfdfdf;
  display: none;
  font-size: 14px;
  height: 44px;
  line-height: 42px;
  padding: 0 15px;
}

.bcms-node-drop-zone-active .bcms-node-drop-zone-text {
  display: block;
}

.bcms-zone-holder {
  padding-left: 15px;
}

.bcms-zone-holder > .bcms-node-container {
  position: relative;
}

.bcms-zone-holder > .bcms-node-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: -15px;
  height: 100%;
  width: 15px;
  background: url("") repeat-y left top;
}

.bcms-zone-holder > .bcms-node-container:after {
  content: "";
  position: absolute;
  top: 21px;
  left: -15px;
  height: 2px;
  width: 15px;
  background-color: #d2cfcf;
}

.bcms-zone-holder > .bcms-node-container:first-of-type:before {
  top: 8px;
}

.bcms-zone-holder > .bcms-node-container:first-of-type:after {
  top: 29px;
}

.bcms-zone-holder > .bcms-node-container:last-of-type:before {
  height: 23px;
}

.bcms-drag-zone-read-only {
  overflow: hidden;
  position: relative;
}

.bcms-drag-zone-read-only:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

.bcms-drag-zone-box {
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  box-shadow: 5px 3px 0 2px rgba(200, 200, 200, 0.6);
  box-sizing: border-box;
  cursor: move;
  margin: 15px 0;
  min-height: 44px;
  padding: 5px 30px 5px 10px;
  position: relative;
}

.bcms-drag-zone-box:last-of-type {
  margin-bottom: 0;
}

.bcms-drag-zone-box:after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  height: 12px;
  width: 12px;
  background: url("") no-repeat center;
  overflow: hidden;
  text-indent: 9999px;
}

.bcms-drag-zone-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0d7ce7;
  max-width: 180px;
}

.bcms-drag-zone-path > a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #303646;
  display: block;
  font-size: 11px;
  max-width: 180px;
}

.bcms-sidebar-search {
  margin: 0 0 15px;
  position: relative;
}

.bcms-sidebar-search .bcms-field-wrapper {
  margin-right: 37px;
}

.bcms-sidebar-search .bcms-btn-search {
  position: absolute;
  top: 0;
  right: 0;
}

.bcms-drop-page-box {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
  cursor: move;
  margin-bottom: 8px;
  padding: 15px;
  position: relative;
}

.bcms-drop-page-box:hover {
  border: 1px dashed #dfdfdf;
}

.bcms-drop-page-box:active {
  opacity: .8;
}

.bcms-drop-page-box .bcms-content-titles {
  margin-bottom: 5px;
}

.bcms-drop-page-box .bcms-drop-text {
  margin-bottom: 20px;
}

.bcms-drop-button {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 12px;
  width: 12px;
  background: url("") no-repeat center;
  overflow: hidden;
  text-indent: 9999px;
}

.bcms-history-preview-holder, .bcms-history-preview-data {
  background-color: #f3f3f3;
  box-sizing: border-box;
  height: calc(70vh - 105px);
  padding: 10px 20px;
  position: relative;
}

.bcms-history-preview-holder {
  overflow: auto;
}

.bcms-history-preview-holder-media {
  height: calc(70vh - 55px);
}

.bcms-history-preview-holder.bcms-history-preview-iframe {
  overflow: hidden;
  padding: 0;
}

.bcms-history-preview-data {
  box-sizing: border-box;
  overflow: auto;
  padding: 20px 30px;
}

.bcms-history-info {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  color: #303646;
  font-size: 19px;
  text-align: center;
}

.bcms-history-table-holder {
  height: calc(30vh - 65px);
}

.bcms-history-table-top {
  background-color: #ffffff;
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  box-sizing: border-box;
  height: 44px;
  padding: 3px 30px;
}

.bcms-history-table-top .bcms-large-titles {
  line-height: 36px;
}

.bcms-history-items-list {
  background-color: #ffffff;
  height: calc(30vh - 109px);
  overflow-y: auto;
}

.bcms-history-items-list-media {
  height: calc(30vh - 109px);
}

.bcms-published-state {
  color: #0d7ce7;
}

.bcms-draft-state {
  color: #33aa61;
}

.bcms-archived-state {
  color: #dc4250;
}

.bcms-history-items-list .bcms-history-grid {
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid #dfdfdf;
  border-left: 0;
  margin: -1px 0 0;
}

.bcms-history-items-list .bcms-history-grid th:first-child,
.bcms-history-items-list .bcms-history-grid td:first-child {
  border-left: 0;
}

.bcms-history-items-list .bcms-history-grid th:last-child,
.bcms-history-items-list .bcms-history-grid td:last-child {
  border-right: 0;
}

.bcms-top-block-holder {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  margin: 20px 0;
  position: relative;
}

.bcms-top-block-inner {
  display: inline-block;
  vertical-align: middle;
}

.bcms-top-block-inner.bcms-active-search .bcms-search-block {
  opacity: 1;
  width: 280px;
}

.bcms-top-block-inner.bcms-active-search .bcms-search-field-box {
  width: 280px;
}

.bcms-top-block-pager {
  position: absolute;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  right: 0;
}

.bcms-top-block-filters {
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  padding: 5px 0;
  position: relative;
}

.bcms-top-controls-btn-holder {
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.bcms-btn-opener {
  -webkit-transition: background-color 200ms;
  -moz-transition: background-color 200ms;
  transition: background-color 200ms;
  display: inline-block;
  vertical-align: middle;
  height: 36px;
  width: 36px;
  background: #0d7ce7 url("") no-repeat center;
  cursor: pointer;
}

.bcms-btn-opener:hover {
  background-color: #0a62b7;
}

.bcms-btn-opener-holder {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  border: 1px solid #0d7ce7;
  box-sizing: border-box;
  display: none;
  z-index: 5;
}

.bcms-btn-opener-holder.bcms-opened {
  display: block;
}

.bcms-btn-opener-link {
  -webkit-transition: background-color 200ms;
  -moz-transition: background-color 200ms;
  transition: background-color 200ms;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #ffffff;
  border-top: 1px solid #0d7ce7;
  color: #0d7ce7;
  cursor: pointer;
  line-height: 36px;
}

.bcms-btn-opener-link:hover {
  background-color: #e7f3ff;
}

.bcms-btn-opener-link:first-child {
  border-top: 0;
}

.bcms-search-block {
  -webkit-transition: opacity 100ms ease-in;
  -moz-transition: opacity 100ms ease-in;
  transition: opacity 100ms ease-in;
  display: inline-block;
  vertical-align: middle;
  margin-left: -35px;
  min-width: 250px;
  opacity: 0;
}

.bcms-search-field-box {
  -webkit-transition: width 150ms ease-in;
  -moz-transition: width 150ms ease-in;
  transition: width 150ms ease-in;
  height: 36px;
  width: 50px;
  background-color: transparent;
  border-top: 0;
  border-right: 0;
  border-bottom: 2px solid #0d7ce7;
  border-left: 0;
  box-sizing: border-box;
  color: #303646;
  font-size: 14px;
  font-style: italic;
  padding-left: 35px;
}

.bcms-search-field-box::-webkit-input-placeholder {
  color: #a6a6a6;
  font-size: 14px;
  font-style: italic;
}

.bcms-search-field-box::-moz-placeholder {
  color: #a6a6a6;
  font-size: 14px;
  font-style: italic;
}

.bcms-search-field-box:-ms-input-placeholder {
  color: #a6a6a6;
  font-size: 14px;
  font-style: italic;
}

.bcms-filter-holder {
  position: relative;
  text-align: right;
  z-index: 1;
}

.bcms-grid-filtering {
  display: inline-block;
  vertical-align: middle;
  border: 1px solid transparent;
  box-sizing: border-box;
  line-height: 30px;
  margin-left: 5px;
  min-width: 61px;
}

.bcms-grid-filtering.bcms-active-filter {
  background-color: #f5f5f5;
  border-color: #dfdfdf;
  border-bottom-color: #f5f5f5;
}

.bcms-grid-filtering.bcms-active-filter .bcms-filterbox {
  color: #636363;
}

.bcms-filterbox {
  -webkit-transition: background-color 200ms, color 200ms;
  -moz-transition: background-color 200ms, color 200ms;
  transition: background-color 200ms, color 200ms;
  padding-left: 5px;
  padding-right: 25px;
  background: url("") no-repeat 92% center;
  color: #a6a6a6;
  cursor: pointer;
  font-size: 11px;
  line-height: 28px;
  position: relative;
  text-transform: uppercase;
}

.bcms-filter-selection-block {
  position: relative;
  top: -1px;
  background-color: #f5f5f5;
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
  clear: both;
  padding: 15px;
  text-align: left;
  z-index: -1;
}

.bcms-filter-controls {
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 8px;
  padding-bottom: 5px;
}

.bcms-filter-options {
  width: 48.93617%;
  float: left;
  padding-bottom: 5px;
}

.bcms-filter-options:nth-child(2n + 1) {
  margin-left: 0;
  margin-right: -100%;
  clear: both;
  margin-left: 0;
}

.bcms-filter-options:nth-child(2n + 2) {
  margin-left: 51.06383%;
  margin-right: -100%;
  clear: none;
}

.bcms-filter-options .bcms-filter-text {
  display: inline-block;
  vertical-align: middle;
  width: 22%;
}

.bcms-filter-options .bcms-field-wrapper {
  display: inline-block;
  vertical-align: middle;
  width: 75%;
}

.bcms-filter-text {
  color: #636363;
  font-size: 11px;
  line-height: 20px;
  text-transform: uppercase;
}

.bcms-filter-modified {
  display: inline;
}

.bcms-check-field-holder {
  float: left;
  margin: 4px 0 0 -3px;
}

.bcms-language-selector-box {
  float: right;
}

.bcms-language-selector-box .bcms-content-titles {
  margin: 0;
}

.bcms-language-selector-box .bcms-field-wrapper {
  display: inline-block;
  vertical-align: middle;
  width: 300px;
}

.bcms-sort-options {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.bcms-sort-options-sorted {
  color: #0d7ce7;
  font-weight: 600;
}

.bcms-sort-options-block {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  margin-top: 10px;
  padding: 14px 25px;
  width: 200px;
}

.bcms-sort-options-block.bcms-tooltip-tl:before {
  left: 91px;
}

.bcms-sort-options-block.bcms-tooltip-tl:after {
  left: 92px;
}

.bcms-sort-options-label {
  background: url("") no-repeat right center;
  color: #a6a6a6;
  cursor: pointer;
  font-size: 11px;
  line-height: 30px;
  padding-right: 15px;
  text-transform: uppercase;
}

.bcms-sort-option {
  color: #303646;
  cursor: pointer;
  margin: 10px 0;
}

.bcms-sort-option:hover {
  color: #0d7ce7;
}

.bcms-btn-field-holder {
  float: right;
}

.bcms-single-tag {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-transition: background-color 0.1s ease-in-out;
  -moz-transition: background-color 0.1s ease-in-out;
  transition: background-color 0.1s ease-in-out;
  background-color: #e7f3ff;
  border: 1px solid #0d7ce7;
  color: #0d7ce7;
  cursor: default;
  float: left;
  font-size: 12px;
  font-weight: 600;
  height: 22px;
  line-height: 21px;
  margin: 4px 4px 3px 0;
  max-width: 280px;
  padding: 0 18px 0 6px;
  position: relative;
}

.bcms-single-tag-remove {
  height: 8px;
  width: 8px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  background: url("") no-repeat center;
  cursor: pointer;
  overflow: hidden;
  right: 4px;
  text-indent: 999em;
}

.bcms-single-tag-active {
  -webkit-animation: duplicateTag 1.5s 3;
  -moz-animation: duplicateTag 1.5s 3;
  animation: duplicateTag 1.5s 3;
}

@-webkit-keyframes duplicateTag {
  0% {
    background-color: white;
    border: 1px solid #0d7ce7;
  }
  50% {
    background-color: #ec98a0;
    border: 1px solid #e46d78;
  }
  100% {
    background-color: white;
    border: 1px solid #0d7ce7;
  }
}

@-moz-keyframes duplicateTag {
  0% {
    background-color: white;
    border: 1px solid #0d7ce7;
  }
  50% {
    background-color: #ec98a0;
    border: 1px solid #e46d78;
  }
  100% {
    background-color: white;
    border: 1px solid #0d7ce7;
  }
}

@keyframes duplicateTag {
  0% {
    background-color: white;
    border: 1px solid #0d7ce7;
  }
  50% {
    background-color: #ec98a0;
    border: 1px solid #e46d78;
  }
  100% {
    background-color: white;
    border: 1px solid #0d7ce7;
  }
}

.bcms-category-titles {
  border-bottom: 1px solid #dfdfdf;
  color: #303646;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 0;
}

.bcms-preview-thumb {
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  height: 350px;
  overflow: hidden;
  position: relative;
}

.bcms-preview-thumb img {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  background: #f5f5f5;
  max-height: 350px;
  max-width: 100%;
}

.bcms-preview-zoom-box:hover > .bcms-preview-zoom-overlay {
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}

.bcms-preview-zoom-overlay {
  -webkit-transition: opacity 200ms;
  -moz-transition: opacity 200ms;
  transition: opacity 200ms;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(48, 54, 70, 0.7) url("") no-repeat center;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}
